#define admin_page_layout()
<!DOCTYPE html>
<html lang="zh-cn">
	<head>
		<meta charset="UTF-8">
		<title>#(siteTitle) - 后台首页</title>
		<meta name="description" content="Welcome To #(siteTitle)">
		<meta name="keywords" content="#(siteTitle),编码,编程,java">
		<meta name="renderer" content="webkit|ie-comp|ie-stand">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<link rel="shortcut icon" href="#(ctx)/favicon.ico">
		<link rel="stylesheet" type="text/css" href="#(ctx)/resources/css/common.css">
		<link rel="stylesheet" type="text/css" href="#(ctx)/resources/css/admin/index.css">
		### 样式开始
		#@css?()
		### 样式结束
		
		<script type="text/javascript" src="#(ctx)/extends/jquery.min-v1.11.3.js"></script>
		<script>
			var ctx = '#(ctx)';
		</script>
	</head>
	<body>
		<div class="nav">
			<div class="site-info">
				<a title="网站首页" href="#(ctx)">#(siteTitle)</a>
			</div>
			<div class="user-info">
				<a href="javascript:;" onclick="showUserExt()">#(session.tusk.nickname??)</a>
				<ul class="user-detail hide">
					<li><a href="#(ctx)/user/center/#(session.tusk.id??)">个人资料</a></li>
					<li><a href="#(ctx)/user/logout">退出</a></li>
				</ul>
			</div>
		</div>
		
		<div class="left-menu">
			<ul>
				#for(menu : menuList ??)
				<li class="top-li">
					<a href="javascript:;" data-href="#(ctx)/#(menu.menuUrl ??)" data-id="#(menu.menuCode ??)" #if(menu.isLeaf == 'Y')class="jump-to-iframe"#end>#(menu.menuName ??)</a>
					#if(menu.childList != null && menu.childList.size() != 0)
					<ul>	
						#for(child : menu.childList)
 						<li class="sub-li">
							<a href="javascript:;" data-href="#(ctx)/#(child.menuUrl ??)" data-id="#(child.menuCode ??)" #if(child.isLeaf == 'Y')class="jump-to-iframe"#end>#(child.menuName ??)</a>
							#if(child.childList != null && child.childList.size() != 0)
							<ul>
								#for(gchild : child.childList)
								<li class="last-li">
									<a href="javascript:;" data-href="#(ctx)/#(gchild.menuUrl ??)" data-id="#(gchild.menuCode ??)" #if(gchild.isLeaf == 'Y')class="jump-to-iframe"#end>#(gchild.menuName ??)</a>
								</li>
								#end
							</ul>
							#end
						</li>
						#end
					</ul>
					#end
				</li>
				#end
			</ul>
		</div>
		
		### 内容开始
		<div class="right-content">
			<div class="tab-wrap">
				<div data-id="tab_homepage" data-href="#(ctx)/admin/homepage" class="tab tab-active" style="width:65px; margin: 0 auto">主页</div>
			</div>		
			<div class="iframe-wrap">
				<div class="iframe-item show" data-id="iframe_homepage">
					<iframe src="#(ctx)/admin/homepage" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="auto" width="100%"></iframe>
				</div>
			</div>
		</div>
		#@main()
		### 内容结束
		
		### 脚本开始
		<script type="text/javascript" src="#(ctx)/resources/js/admin/index.js"></script>
		#@js?()
		### 脚本结束
	</body>
</html>
#end